From d98d9cc1375b7e7c46c93d16b4777ebae43ccd8a Mon Sep 17 00:00:00 2001 From: Rob Church Date: Tue, 28 Aug 2007 15:37:31 +0000 Subject: [PATCH] (bug 11094) Update API help for 'siteinfo' - based on a patch by VasilievVV --- includes/api/ApiQuerySiteinfo.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index 0a1245e9f9..caf444e8c7 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -207,11 +207,12 @@ class ApiQuerySiteinfo extends ApiQueryBase { 'Which sysinfo properties to get:', ' "general" - Overall system information', ' "namespaces" - List of registered namespaces (localized)', - ' "interwikimap" - Return interwiki map (optionally filtered)', - ' "dbrepllag" - Returns DB server with the highest replication lag', + ' "statistics" - Returns site statistics', + ' "interwikimap" - Returns interwiki map (optionally filtered)', + ' "dbrepllag" - Returns database server with the highest replication lag', ), 'filteriw' => 'Return only local or only nonlocal entries of the interwiki map', - 'showalldb' => 'List all DB servers, not just the one lagging the most', + 'showalldb' => 'List all database servers, not just the one lagging the most', ); } @@ -221,7 +222,7 @@ class ApiQuerySiteinfo extends ApiQueryBase { protected function getExamples() { return array( - 'api.php?action=query&meta=siteinfo&siprop=general|namespaces', + 'api.php?action=query&meta=siteinfo&siprop=general|namespaces|statistics', 'api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local', 'api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb', ); @@ -230,5 +231,4 @@ class ApiQuerySiteinfo extends ApiQueryBase { public function getVersion() { return __CLASS__ . ': $Id$'; } -} - +} \ No newline at end of file -- 2.20.1